<template>
  <div class="cate">
    <div class="box">123</div>

    <van-sidebar v-model="activeKey">
      <van-sidebar-item title="标签名称" />
      <van-sidebar-item title="标签名称" />
    </van-sidebar>
  </div>
</template>

<script>
export default {
  name: "cate",
  data () {
      return{
        cateList:[],
        activeKey:''
    }
  },
  methods:{
      async getCateList() {
          const res = await this.$http.get('/cate')
          console.log(res);
      }
  },
  created() {
      this.getCateList()
  },
};
</script>

<style lang="scss" scoped>
.box {
  height: 50px;
  background: skyblue;
}
</style>
